// 带顶部边框的
.mes_tabs.el-tabs--border-card {
  &>.el-tabs__header{
    background-color: #fff;
  }
  border: none;
  box-shadow: none;
  /*padding: 20px;*/
  .el-tabs__nav-scroll {
    border-left: @mesBorDefault;
    .el-tabs__nav{
      background-color: #f6f7f8;
    }
    .el-tabs__item {
      color: @mesTabsItemBgC !important;
      font-size: 14px;
      border-top: @mesBorDefault;
      border-right: @mesBorDefault;
      border-bottom: @mesBorDefault;
      margin-top: 0;
    }
    .el-tabs__item.is-active {
      color: #333 !important;
      position: relative;
      background-color: #fff!important;
      border-bottom: 1px solid #fff;
      margin-right: 0!important;
      &::after {
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        content: '';
        width: calc(100% + 1px);
        height: 2px;
        background-color: @mesTabsItemActiveC;
        margin-top: -1px;
      }
    }
  }
  .el-tabs__content {
    padding: 0 0 0 0;
    .el-badge__content{
      background-color: #f8000f;
    }
  }
}

// 带边框
.mes_tabs_bor{
  &.el-tabs--border-card{
    .el-tabs__header{
      .el-tabs__item {
        border-top: 3px solid transparent;
        line-height: 36px;
        &.is-active{
          border-top-color: @mesTabsItemActiveC;
          color: #333
        }
      }
    }
  }
}

// 左右两项按钮型tab
.mes_tabs_btn{
  .el-radio-group{
    display: flex;
    .el-radio-button{
      flex: 0 0 50%;
      .el-radio-button__inner{
        display: block;
      }
      &:first-child .el-radio-button__inner {
        border-radius: 2px 0 0 2px;
      }
      &:last-child .el-radio-button__inner {
        border-radius: 0 2px 2px 0;
      }
      .el-radio-button__orig-radio:checked + .el-radio-button__inner {
        background-color: #00b4ff;
        border-color: #00b4ff;
        color: #fff;
      }
    }
  }
}

// 参数记录，上料tab
.mes_tab_close{
  .el-tabs__header.is-top{
    margin-bottom: 0px;
    .el-tabs__nav-wrap{
      margin-right: 80px;
    }
  }
  .el-tabs__item{
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    position: relative;
    &:after{
      content: "";
      display: block;
      position: absolute;
      top: -1px;
      left: -1px;
      right: -1px;
      height: 2px;
    }
    &.is-active:after{
      background-color: #00b4ff;
    }
  }
}

